﻿using UnityEngine;
using UnityEngine.UI;
using System.Collections;

public class WandH : MonoBehaviour {

	// Use this for initialization
    int x;
    int y;
    Vector2 newPos;
	void Awake () {
        x = Screen.width;
        y = Screen.height;
        newPos.x=this.x - this.x / 10;
        newPos.y=this.x / 10;
        GetComponent<GridLayoutGroup>().cellSize = newPos;
	}
	
	// Update is called once per frame
	void Update () {
	
	}
}
